package net.NingXiaRuiTai.ShortChain.server;

import net.NingXiaRuiTai.ShortChain.controller.request.AccountRegisterRequest;
import net.NingXiaRuiTai.ShortChain.controller.request.LoginRequest;
import net.NingXiaRuiTai.ShortChain.utils.JsonData;

public interface AccountService {

    JsonData register(AccountRegisterRequest request);

    JsonData login(LoginRequest loginRequest);
}
